<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/base.jsp"%>
<%@ include file="/module/taglibs.jsp"%>
<%@ include file="/module/nocache.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Refresh" content="1; url=${basePath}/zxjStudentPeopleGrant/index_admin?bzr=${bzr}"/>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>人民助学金</title>
<%@ include file="/module/js.jsp"%>
<!-- <script type="text/javascript">
$(document)
.ready(
		function() {
		    $("#print_data").printArea();
			$("#print_data").hide();
		    window.location.href='${basePath}/zxjStudentPeopleGrant/index_admin?bzr=${bzr}';
		/* 	$("#returnBut").click(function() {
	 			  window.location.href='${basePath}/zxjStudentPeopleGrant/index_admin?bzr=${bzr}';
	 		}); */
		});
</script>
 -->

<script type="text/javascript">
$(document)
.ready(
		function() {
			    $("#print_data").printArea();
			    $("#print_data").hide(); 
				/* var sec =2
				var i = 2;
				var timer = setInterval(function(){
					i--;
					sec= i;
					if(i==1){
						 window.location.href='${basePath}/zxjStudentPeopleGrant/index_admin?bzr=${bzr}';
					}
				},1000); */
			
	});	
</script>


</head>
<body>
	<form action="#" name="From" id="From" method="post">
	
	 
	       <!--  <table cellpadding="1" cellspacing="1" border="0">
	            <tr>
					<td ><input type="button" id="returnBut"  value="返 回"  class="inputButton" /></td>
				</tr>
			</table>	 -->
		 <div id="print_data" style="margin-top: 0px;">
			  
	       <c:forEach items="${listdata}" var="data">
	       
			  <table cellpadding="0" cellspacing="0" border="0" class="table-border" width="100%">
				<tr>
				    <td class="table-header" colspan="8">杭州市交通职业高级中学人民助学金申请表</td>
			    </tr>
			    </br>  </br>
			  <tr>
					<td class="table-contentTD2" style="width: 8%">学生姓名</td>
					<td class="table-contentTD2" style="width: 19%">${data.xm}</td>
					<td class="table-contentTD2"  style="width: 10%">性别</td>
					<td class="table-contentTD2" style="width: 17%">${data.xb}</td>
					<td class="table-contentTD2" style="width: 8%">出生年月</td>
					<td class="table-contentTD2" style="width: 19%">${data.csrq1}</td>
					<td class="table-contentTD2" style="width: 8%">班级</td>
					<td class="table-contentTD2" style="width: 10%">${data.bjmc}</td>
		      </tr>
			    
			   <tr>
			        <td class="table-contentTD2" >专业</td>
					<td class="table-contentTD2" >${data.zymc}</td>
					<td class="table-contentTD2"  >民族</td>
					<td class="table-contentTD2" >${data.mz}</td>
					<td class="table-contentTD2" >联系电话</td>
					<td class="table-contentTD2" >${data.lxdh}</td>
					<td class="table-contentTD2" >是否团员</td>
					<td class="table-contentTD2"><c:if test="${data.sfty=='true'}">是</c:if><c:if test="${data.sfty=='false'}">否</c:if></td>
		       </tr>  
		        <tr>
			        <td class="table-contentTD2" rowspan="2">申报项目（打钩）</td>
		 		    <td class="table-contentTD2" style='text-align: center;'>代收费</td>
					<td class="table-contentTD2" style='text-align: center;'>材料费</td>
					<td class="table-contentTD2" colspan="2" style='text-align: center;'>服装费</td>
					<td class="table-contentTD2" style='text-align: center;'>月人民助学金</td>
					<td class="table-contentTD2" style='text-align: center;'>驾训减免</td>
					<td class="table-contentTD2" style='text-align: center;'>特困补助</td>
		          </tr>  
		          
	            
		          <tr>
		                <td class="table-contentTD2" style='text-align: center;'><span id='${data.sqid}dsf'>√</span></td>
						<td class="table-contentTD2" style='text-align: center;'><span id='${data.sqid}clf'>√</span></td>
					    <td class="table-contentTD2" colspan="2" style='text-align: center;'><span id='${data.sqid}fzf'>√</span></td>
					    <td class="table-contentTD2" style='text-align: center;'><span id='${data.sqid}yrmzxj'>√</span></td>
						<td class="table-contentTD2" style='text-align: center;'><span id='${data.sqid}jxjm'>√</span></td>
					    <td class="table-contentTD2" style='text-align: center;'><span id='${data.sqid}tkbz'>√</span></td>
		          </tr>  
		            <script type="text/javascript">
		                     $("#${data.sqid}dsf").hide();		
		                     $("#${data.sqid}clf").hide();		
		                     $("#${data.sqid}fzf").hide();		
		                     $("#${data.sqid}yrmzxj").hide();		
		                     $("#${data.sqid}jxjm").hide();	
		                     $("#${data.sqid}tkbz").hide();
		                      
				              var sbxm="${data.sbxm}";
				  		      var sbxm1 = sbxm.split(",");
				  		      for(var i=0;i<sbxm1.length;i++){
				  		    	   if(sbxm1[i]=='代收费'){
				  		    		 $("#${data.sqid}dsf").show();		
				  		    	   }
					  		       if(sbxm1[i]=='材料费'){
					  		    		 $("#${data.sqid}clf").show();		
					  		       }
					  		       if(sbxm1[i]=='服装费'){
					  		    		 $("#${data.sqid}fzf").show();		
					  		       }
					  		       if(sbxm1[i]=='月人民助学金'){
					  		    		 $("#${data.sqid}yrmzxj").show();		
					  		        }
					  		    	if(sbxm1[i]=='驾训减免'){
					  		    		 $("#${data.sqid}jxjm").show();		
					  		    	}
					  		    	if(sbxm1[i]=='特困补助'){
					  		    		 $("#${data.sqid}tkbz").show();		
					  		         }
				  		    	 /*   $("input[name='sbxm1'][value="+sbxm1[i]+"]").attr("checked","checked"); */
				  		      }
	             
	               </script>
	               
		       
					         <tr>
					                <td class="table-contentTD2" rowspan="${data.seiz}">家庭成员情况</td>
									<td class="table-contentTD2" style='text-align: center;'>姓名</td>
									<td class="table-contentTD2" style='text-align: center;'>年龄</td>
									<td class="table-contentTD2" style='text-align: center;'>与本人关系</td>
									<td class="table-contentTD2" colspan="4" style='text-align: center;'>工作或学习单位</td>
							
							 </tr>
							 
							 
						<c:choose>
						<c:when test="${not empty data.studentFamilyList}"> 
						      <c:forEach items="${data.studentFamilyList}" var="family" >
						          <c:choose>  
								   <c:when test="${empty family.stuid}"> 
								         <tr>
									            <td class="table-contentTD2" style='text-align: center;'></td>
												<td class="table-contentTD2" style='text-align: center;'></td>
												<td class="table-contentTD2" style='text-align: center;'></td>
												<td class="table-contentTD2"  colspan="4" style='text-align: center;'></td>
									      </tr>		
								   </c:when>  
								     
								   <c:otherwise>  
								          <tr>
									            <td class="table-contentTD2" style='text-align: center;'>${family.xm}</td>
												<td class="table-contentTD2" style='text-align: center;'>${family.age}</td>
												<td class="table-contentTD2" style='text-align: center;'>${family.gx}</td>
												<td class="table-contentTD2"  colspan="4" style='text-align: center;'>${family.gzdw}</td>
										  </tr>	
								   </c:otherwise>  
								</c:choose>  
							 </c:forEach> 
						</c:when>
							<c:otherwise>  
                               <c:forEach  begin="1" end="5" >		 
									  <tr>
											<td class="table-contentTD2" style='text-align: center;'></td>
											<td class="table-contentTD2" style='text-align: center;'></td>
											<td class="table-contentTD2" style='text-align: center;'></td>
											<td class="table-contentTD2"  colspan="4" style='text-align: center;'></td>
									  </tr>
					           </c:forEach>  	
							</c:otherwise> 
					</c:choose> 	 
							 
			
							
				 <tr>
									<td class="table-contentTD2" rowspan="3">家庭经济状况</td>
									<td class="table-contentTD2" style='text-align: center;'>户籍性质</td>
									<td class="table-contentTD2" colspan="4">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A农业&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:if test="${data.hjxz=='农业户口'}">√</c:if>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									B非农业&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:if test="${data.hjxz=='非农业户口'}">√</c:if></td>
									<td class="table-contentTD2" style='text-align: center;'>主要收入来源</td>
									<td class="table-contentTD2" style='text-align: center;'>${data.zysrly}</td>
				</tr>	
				
				<tr>
									<td class="table-contentTD2" style='text-align: center;'>家庭住址</td>
									<td class="table-contentTD2" colspan="4" style='text-align: center;'>${data.jtdz}</td>
									<td class="table-contentTD2" style='text-align: center;'>邮编</td>
									<td class="table-contentTD2" style='text-align: center;'>${data.yzbm}</td>
				</tr>	
				
				<tr>
									<td class="table-contentTD2" style='text-align: center;'>家庭人口总数</td>
									<td class="table-contentTD2" colspan="2" style='text-align: center;'>${data.jtrkzs}</td>
									<td class="table-contentTD2" style='text-align: center;'>家庭年收入</td>
									<td class="table-contentTD2" style='text-align: center;'>${data.jtnsr}</td>
									<td class="table-contentTD2" style='text-align: center;'>人均年收入</td>
								    <td class="table-contentTD2" style='text-align: center;'>${data.rjnsr}</td>
				</tr>	
				
				     <tr>
									<td class="table-contentTD2" rowspan="4">申请助学金理由</td>
									<td class="table-contentTD2" rowspan="3" style='text-align: left;'  colspan="7">&nbsp;&nbsp;${data.sqly} <br /><br /><br /><br /></td>
				    </tr>
				    <tr>	
				    </tr>
				    <tr>	
				    </tr>	
				   <tr>	 
				     
				         <td class="table-contentTD2" colspan="3" >申请人签名：</td>
				    	 <td class="table-contentTD2" colspan="2"></td>
				    	 <td class="table-contentTD2" >监护人签名：</td>
				    	 <td class="table-contentTD2" colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;日</td>
				    </tr>	
				    
				    
				     <tr>
									<td class="table-contentTD2">单位意见或乡镇民政部门意见</td>
									<td class="table-contentTD2" style='text-align: left;'  colspan="7">&nbsp;&nbsp;${data.sqly} <br /><br /><br />
									  &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									 负责人签名： &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									 联系电话：  <br />   <br />  <br />  <br />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sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;       
                                                                          年 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   月     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;日
									
									</td>
				    </tr>
				   
				   
				

						     
						      <tr>
						                     <td class="table-contentTD2"  rowspan="2">班主任意见</td>
						                     <td class="table-contentTD2"   colspan="3"></td>
						                     <td class="table-contentTD2"  rowspan="2" >学校意见</td>
						                     <td class="table-contentTD2"   colspan="3"></td>					
						     </tr> 
						     <tr>	
						                    <td class="table-contentTD2" colspan="3" style="text-align: right;"><br/>（公  章）<br/><br/>年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    月 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    日<br/><br/></td>
						                    <td class="table-contentTD2" colspan="3" style="text-align: right;"><br/>（公 章）<br/><br/>年  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 月   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 日<br/><br/></td>
						     </tr>	
				    
				    
			  </table>
			  
			    </c:forEach>  
	 
	    </div>
	</form>
	<script>
	    $("input[type='checkbox']").attr('disabled','disabled');
    </script>
</body>
</html>
